package com.antdesignbackend.backend.activiti.processstay.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 待审记录
 *
 * @author 不二
 * @email processstay
 * @date 2020-08-13 13:49:06
 */

@Data
@TableName(value = "t_processstay")
public class Processstay implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//流程Id
	@TableField(value = "ProcessId")
	private Integer processId;
	//表单标识
	@TableField(value = "Form")
	private Integer form;
	//表单Id
	@TableField(value = "FormId")
	private Integer formId;
	//节点id
	@TableField(value = "ProcesslistId")
	private Integer processlistId;
	//审批人id
	@TableField(value = "ReviewerId")
	private Integer reviewerId;
	//审批人对应的userid
	@TableField(value = "UserId")
	private Integer userId;
	//发起人
	@TableField(value = "LaunchId")
	private Integer launchId;
	//审批方式
	@TableField(value = "Types")
	private Integer types;
	//发起时间
	@TableField(value = "LaunchTime")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date launchTime;
}
